package org.jeecg.modules.service;

import org.jeecg.modules.dto.PlatformManagementDto;
import org.jeecg.modules.entity.CuPlatformManagement;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 平台列表
 * @Author: jeecg-boot
 * @Date: 2024-07-12
 * @Version: V1.0
 */
public interface ICuPlatformManagementService extends IService<CuPlatformManagement> {

    /**
     * 平台列表-缓存
     *
     * @return
     */
    List<PlatformManagementDto> PlatformlistAll();

    /**
     * 添加
     *
     * @param cuPlatformManagement 实体对象
     * @return
     */
    boolean save(CuPlatformManagement cuPlatformManagement);

    /**
     * 编辑
     *
     * @param cuPlatformManagement 实体对象
     * @return
     */
    boolean updateById(CuPlatformManagement cuPlatformManagement);

    /**
     * 通过id删除
     * @param id
     * @return
     */
    boolean removeById(String id);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    boolean removeByIds(List<String> ids);
}
